package com.nes.springcloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.feign.EnableFeignClients;

/**
 * Created by wdq on 17-6-1.
 */
@SpringBootApplication
@EnableDiscoveryClient  //启用负载均衡 -发现客户端
@EnableFeignClients    //启用webservice
public class FeignApplication {

    public static void main(String[] args) {
        SpringApplication.run(FeignApplication.class,args);
    }
}
